package com.zuipin.vo;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;

/**
 * 红包明细
 * 
 * @ClassName: RedPacketDetailVo
 * @author xujinding 
 * @time 2017年4月18日下午4:43:18 
 **/
public class RedPacketDetailVo implements Serializable {
	
	private Long	id;					//
	
	private String	createTime;			// 创建时间
	
	private String	updateTime;			// 更新时间
	
	private Long	sysId;				// 系统ID
	
	private Long	createRuleId;		// 生成规则ID
	
	private String	useTime;			// 使用日期
	
	private String	status;				// 状态:未激活，未使用，已使用，已过期，已冻结
	
	private String	redPacketType;		// 红包类型 不是红包里面的类型 是规则里面的类型
	
	private String	startTime;			// 红包使用开始时间
	
	private String	endTime;			// 红包使用截止时间
	
	private String	redPacketKey;		// 红包唯一编码
	
	private String	orderNo;			// 使用的订单号
	
	private String	payoutTime;			// 派发时间
	
	private String	payoutName;			// 派发者
	
	private String	phoneOrEmail;		// 会员帐号
	
	private String	name;				// 名称
	
	private Long	amountOrDiscount;	// 面额
	
	private Short	validPeriodType;
	
	private Integer	validDay;
	
	private Long	orderId;			// 订单ID
	
	private Boolean	isPage	= false;
	private Integer	pageDown;
	private Integer	offset;
	
	@ApiModelProperty(value = "红包编码")
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return this.id;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	@ApiModelProperty(value = "创建时间")
	public String getCreateTime() {
		return this.createTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	@ApiModelProperty(value = "更新时间")
	public String getUpdateTime() {
		return this.updateTime;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	@ApiModelProperty(value = "系统Id")
	public Long getSysId() {
		return this.sysId;
	}
	
	public void setCreateRuleId(Long createRuleId) {
		this.createRuleId = createRuleId;
	}
	
	@ApiModelProperty(value = "规则编码")
	public Long getCreateRuleId() {
		return this.createRuleId;
	}
	
	public void setUseTime(String useTime) {
		this.useTime = useTime;
	}
	
	@ApiModelProperty(value = "使用时间")
	public String getUseTime() {
		return this.useTime;
	}
	
	public void setStatus(String status) {
		this.status = status;
	}
	
	@ApiModelProperty(value = "状态   INACTIVE:未派发, UNUSED:已派发，未使用, FREEZE:已禁用 ,USED：已使用,EXPIRED:已过期")
	public String getStatus() {
		return this.status;
	}
	
	public void setRedPacketType(String redPacketType) {
		this.redPacketType = redPacketType;
	}
	
	@ApiModelProperty(value = "红包类型 ORDER_DISCOUNT:订单打折券,SINGLE_PRO_DISCOUNT:单品打折券,CASH:现金券")
	public String getRedPacketType() {
		return this.redPacketType;
	}
	
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	
	@ApiModelProperty(value = "开始时间")
	public String getStartTime() {
		return this.startTime;
	}
	
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	@ApiModelProperty(value = "结束时间")
	public String getEndTime() {
		return this.endTime;
	}
	
	public void setRedPacketKey(String redPacketKey) {
		this.redPacketKey = redPacketKey;
	}
	
	public String getRedPacketKey() {
		return this.redPacketKey;
	}
	
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	@ApiModelProperty(value = "订单号")
	public String getOrderNo() {
		return this.orderNo;
	}
	
	@ApiModelProperty(value = "派发时间")
	public String getPayoutTime() {
		return payoutTime;
	}
	
	public void setPayoutTime(String payoutTime) {
		this.payoutTime = payoutTime;
	}
	
	@ApiModelProperty(value = "会员帐号")
	public String getPhoneOrEmail() {
		return phoneOrEmail;
	}
	
	public void setPhoneOrEmail(String phoneOrEmail) {
		this.phoneOrEmail = phoneOrEmail;
	}
	
	@ApiModelProperty(value = "红包名称")
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	@ApiModelProperty(value = "面额")
	public Long getAmountOrDiscount() {
		return amountOrDiscount;
	}
	
	public void setAmountOrDiscount(Long amountOrDiscount) {
		this.amountOrDiscount = amountOrDiscount;
	}
	
	@ApiModelProperty(value = "派发人")
	public String getPayoutName() {
		return payoutName;
	}
	
	public void setPayoutName(String payoutName) {
		this.payoutName = payoutName;
	}
	
	@ApiModelProperty(value = "有效期类型,1:表示开始及结束时间范围,2:表示天数")
	public Short getValidPeriodType() {
		return validPeriodType;
	}
	
	public void setValidPeriodType(Short validPeriodType) {
		this.validPeriodType = validPeriodType;
	}
	
	public Integer getValidDay() {
		return validDay;
	}
	
	public void setValidDay(Integer validDay) {
		this.validDay = validDay;
	}
	
	@ApiModelProperty(value = "订单ID")
	public Long getOrderId() {
		return orderId;
	}
	
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	
	public Boolean getIsPage() {
		return isPage;
	}
	
	public void setIsPage(Boolean isPage) {
		this.isPage = isPage;
	}
	
	public Integer getPageDown() {
		return pageDown;
	}
	
	public void setPageDown(Integer pageDown) {
		this.pageDown = pageDown;
	}
	
	public Integer getOffset() {
		return offset;
	}
	
	public void setOffset(Integer offset) {
		this.offset = offset;
	}
	
}
